package okl.lab.namesFilter.model.vo
{
	import mx.utils.StringUtil;

	public class User
	{
		public function User()
		{
		}
		
		public var firstName:String;
		public var lastName:String;
		public var female:Boolean;
		
		private const TML_TO_STRING:String = "{1}, {0} ({2})";
		public function toString():String{
			return StringUtil.substitute(TML_TO_STRING, firstName, lastName, (female) ? "F" : "M");
		}
	}
}